---
title: myMap实现echart地图效果
subTitle: myMapGeo使用
---
<template>
  <div class="common-page my-map-chart">
    <div class="chart-warp"> 
      <div class="inner">
        <map-chart></map-chart>
      </div>
    </div>
  </div>
</template>
<script>
import MapChart from '@/components/map-chart'
export default {
  components: {
    MapChart
  },
  props: {
  },
  data() {
    return {
    }
  },
  computed: {
  },
  methods: {
  },
  created() {
  },
  mounted() {
  }
}
</script>
<style lang="scss" scoped>
.my-map-chart{
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  .chart-warp{
    position:relative;
    width: 75%;
    min-width: 800px;
    border:1px solid;
    &:after{
      content: '';
      display: block;
      width: 100%;
      height: 0;
      padding-top: 55%;
    }
    .inner{
      position: absolute;
      left: 0;
      top: 0;
      right:0;
      bottom: 0;
    }
  }
}

</style>